<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwwlongspinbox.cpp -->
<head>
  <title>Qt 1.0: QwwLongSpinBox Class Reference</title>
  <link href="classic-4.6.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">wwWidgets Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230">
<a href="http://www.wysota.eu.org/wwwidgets"><img src="images/ww-logo.png" align="right" width="137" height="41" border="0" /></a>
</td></tr></table><h1 class="title">QwwLongSpinBox Class Reference<br /><span class="small-subtitle">[<a href="wwwidgets.html">wwWidgets</a> module]</span>
</h1>
<p>The QwwLongSpinBox class provides a spinbox taking long long values. <a href="#details">More...</a></p>
<pre> #include &lt;QwwLongSpinBox&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p>Inherits <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html">QAbstractSpinBox</a>.</p>
<ul>
<li><a href="qwwlongspinbox-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="properties"></a>
<h2>Properties</h2>
<p><table class="propsummary" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="45%" valign="top"><ul>
<li><div class="fn"><b><a href="qwwlongspinbox.html#maximum-prop">maximum</a></b> : qlonglong</div></li>
<li><div class="fn"><b><a href="qwwlongspinbox.html#minimum-prop">minimum</a></b> : qlonglong</div></li>
<li><div class="fn"><b><a href="qwwlongspinbox.html#prefix-prop">prefix</a></b> : QString</div></li>
</ul></td><td valign="top"><ul>
<li><div class="fn"><b><a href="qwwlongspinbox.html#singleStep-prop">singleStep</a></b> : qlonglong</div></li>
<li><div class="fn"><b><a href="qwwlongspinbox.html#suffix-prop">suffix</a></b> : QString</div></li>
<li><div class="fn"><b><a href="qwwlongspinbox.html#value-prop">value</a></b> : qlonglong</div></li>
</ul>
</td></tr>
</table></p>
<ul>
<li><div bar="2" class="fn"></div>11 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#properties">QAbstractSpinBox</a></li>
<li><div bar="2" class="fn"></div>58 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#properties">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#QwwLongSpinBox">QwwLongSpinBox</a></b> ( QWidget * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#maximum-prop">maximum</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#minimum-prop">minimum</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QString &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#prefix-prop">prefix</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#maximum-prop">setMaximum</a></b> ( qlonglong <i>v</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#minimum-prop">setMinimum</a></b> ( qlonglong <i>v</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#prefix-prop">setPrefix</a></b> ( const QString &amp; )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#setRange">setRange</a></b> ( qlonglong <i>min</i>, qlonglong <i>max</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#singleStep-prop">setSingleStep</a></b> ( qlonglong <i>s</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#suffix-prop">setSuffix</a></b> ( const QString &amp; )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#singleStep-prop">singleStep</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QString &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#suffix-prop">suffix</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#value-prop">value</a></b> () const</td></tr>
</table>
<hr />
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#fixup">fixup</a></b> ( QString &amp; <i>input</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#stepBy">stepBy</a></b> ( int <i>steps</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QValidator::State </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#validate">validate</a></b> ( QString &amp; <i>input</i>, int &amp; <i>pos</i> ) const</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>28 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#public-functions">QAbstractSpinBox</a></li>
<li><div bar="2" class="fn"></div>217 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>13 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<hr />
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#value-prop">setValue</a></b> ( qlonglong <i>v</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>4 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#public-slots">QAbstractSpinBox</a></li>
<li><div bar="2" class="fn"></div>19 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-slots">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
</ul>
<hr />
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#valueChanged">valueChanged</a></b> ( qlonglong <i>i</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#valueChanged-2">valueChanged</a></b> ( const QString &amp; <i>text</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#signals">QAbstractSpinBox</a></li>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#signals">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<hr />
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#textFromValue">textFromValue</a></b> ( qlonglong <i>value</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual qlonglong </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#valueFromText">valueFromText</a></b> ( const QString &amp; <i>text</i> ) const</td></tr>
</table>
<hr />
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual StepEnabled </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#stepEnabled">stepEnabled</a></b> () const</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>20 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#protected-functions">QAbstractSpinBox</a></li>
<li><div bar="2" class="fn"></div>37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 public type inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-slots">QWidget</a></li>
<li><div class="fn"></div>1 protected type inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QwwLongSpinBox class provides a spinbox taking long long values.</p>
<p align="center"><img src="images/qwwlongspinbox.png" alt="QwwLongSpinBox" /></p><hr />
<h2>Property Documentation</h2>
<h3 class="fn"><a name="maximum-prop"></a>maximum : <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a></h3>
<p>This property holds property holds the maximum value allowed for the spinbox.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b>maximum</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setMaximum</b> ( qlonglong <i>v</i> )</td></tr>
</table>
<h3 class="fn"><a name="minimum-prop"></a>minimum : <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a></h3>
<p>This property holds property holds the minimum value allowed for the spinbox.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b>minimum</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setMinimum</b> ( qlonglong <i>v</i> )</td></tr>
</table>
<h3 class="fn"><a name="prefix-prop"></a>prefix : <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></h3>
<p>This property holds property holds the spinbox's prefix.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">const QString &amp; </td><td class="memItemRight" valign="bottom"><b>prefix</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setPrefix</b> ( const QString &amp; )</td></tr>
</table>
<h3 class="fn"><a name="singleStep-prop"></a>singleStep : <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a></h3>
<p>This property holds this property holds the step for the spinbox.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b>singleStep</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setSingleStep</b> ( qlonglong <i>s</i> )</td></tr>
</table>
<h3 class="fn"><a name="suffix-prop"></a>suffix : <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></h3>
<p>This property holds property holds the spinbox's suffix.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">const QString &amp; </td><td class="memItemRight" valign="bottom"><b>suffix</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setSuffix</b> ( const QString &amp; )</td></tr>
</table>
<h3 class="fn"><a name="value-prop"></a>value : <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a></h3>
<p>This property holds property holds the spinbox value.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">qlonglong </td><td class="memItemRight" valign="bottom"><b>value</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setValue</b> ( qlonglong <i>v</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#valueChanged">valueChanged</a></b> ( qlonglong <i>i</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwlongspinbox.html#valueChanged-2">valueChanged</a></b> ( const QString &amp; <i>text</i> )</td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QwwLongSpinBox"></a>QwwLongSpinBox::QwwLongSpinBox ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a long spin box widget with a given <i>parent</i>.</p>
<h3 class="fn"><a name="fixup"></a>void QwwLongSpinBox::fixup ( <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>input</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#fixup">QAbstractSpinBox::fixup</a>().</p>
<p>Attempts to correct the <i>input</i>.</p>
<h3 class="fn"><a name="setRange"></a>void QwwLongSpinBox::setRange ( <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a> <i>min</i>, <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a> <i>max</i> )</h3>
<p>Sets the range of values allowed for the spinbox to <i>min</i> and <i>max</i></p>
<h3 class="fn"><a name="stepBy"></a>void QwwLongSpinBox::stepBy ( int <i>steps</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#stepBy">QAbstractSpinBox::stepBy</a>().</p>
<p>Changes the spinbox value by a number of <i>steps</i> <i>steps</i></p>
<h3 class="fn"><a name="stepEnabled"></a><a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#StepEnabled-typedef">StepEnabled</a> QwwLongSpinBox::stepEnabled () const&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#stepEnabled">QAbstractSpinBox::stepEnabled</a>().</p>
<p>Returns set of enabled steps.</p>
<h3 class="fn"><a name="textFromValue"></a><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> QwwLongSpinBox::textFromValue ( <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a> <i>value</i> ) const&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Returns textual representation of the <i>value</i>.</p>
<h3 class="fn"><a name="validate"></a><a href="http://qt.nokia.com/doc/4.7/qvalidator.html#State-enum">QValidator::State</a> QwwLongSpinBox::validate ( <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>input</i>, int &amp; <i>pos</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="http://qt.nokia.com/doc/4.7/qabstractspinbox.html#validate">QAbstractSpinBox::validate</a>().</p>
<p>Validates the spinbox <i>input</i> with cursor at position <i>pos</i></p>
<h3 class="fn"><a name="valueChanged"></a>void QwwLongSpinBox::valueChanged ( <a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a> <i>i</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted whenever value of the spin box is set to <i>i</i></p>
<h3 class="fn"><a name="valueChanged-2"></a>void QwwLongSpinBox::valueChanged ( const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>text</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the textual representation of the value changes to <i>text</i>.</p>
<h3 class="fn"><a name="valueFromText"></a><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qlonglong-typedef">qlonglong</a> QwwLongSpinBox::valueFromText ( const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>text</i> ) const&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Returns numerical representation of the <i>text</i>.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%" align="left">Copyright &copy; 2007-2010 Witold Wysota 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">wwWidgets 1.0.0</div></td>
</tr></table></div></address></body>
</html>
